package com.hongdee.crm.coupon.entity;

import com.hongdee.base.entity.BaseEntity;
import org.springframework.beans.factory.annotation.Autowired;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TCrmCarCouponUseRecord
 * 类  型:
 * 描  述:
 * 路  径:com.hongdee.crm.coupon.entity
 * 作  者: 术洪超
 * 日  期:2017-03-01 11:37
 */

@Entity
@Table(name = "T_CRM_CAR_COUPON_USERECORD")
public class TCrmCarCouponUseRecord extends BaseEntity {

    //活动ID
    @Column(name = "activity_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String activityId;

    //活动名称
    @Column(name = "activity_name", length = 255, columnDefinition = "VARCHAR(255) COMMENT '活动名称'")
    private String activityName;

    //活动礼品
    @Column(name = "gift", length = 255, columnDefinition = "VARCHAR(255) COMMENT '活动礼品'")
    private String gift;

    //礼品价值
    @Column(name = "degression", length = 32, columnDefinition = "VARCHAR(32) COMMENT '礼品价值'")
    private String degression;

    //工时成本
    @Column(name = "gscost", length = 32, columnDefinition = "VARCHAR(32) COMMENT '工时成本'")
    private String gscost;

    //成本价值
    @Column(name = "cost", length = 32, columnDefinition = "VARCHAR(32) COMMENT '成本价值'")
    private String cost;

    //车主姓名
    @Column(name = "contact_name", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车主姓名'")
    private String contactName;

    //车主电话
    @Column(name = "contact_phone", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车主电话'")
    private String contactPhone;

    //车牌号
    @Column(name = "plate_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车牌号'")
    private String plateNum;

    //优惠券号
    @Column(name = "num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '优惠券号'")
    private String num;

    //工单号
    @Column(name = "gongdan_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '工单号'")
    private String gongdanId;

    //使用说明
    @Column(name = "use_remark", length = 255, columnDefinition = "VARCHAR(255) COMMENT '使用说明'")
    private String useRemark;

    //使用时间
    @Column(name = "use_date", length = 32, columnDefinition = "BIGINT COMMENT '使用时间'")
    private Long useDate;

    //公司ID
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    //打印时间
    @Column(name = "print_date", length = 22, columnDefinition = "BIGINT COMMENT '打印时间'")
    private Long printDate;

    //优惠券类型
    @Column(name = "coupon_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '优惠券类型'")
    private String couponType;

    //优惠券余额
    @Column(name = "remainder", length = 32, columnDefinition = "VARCHAR(32) COMMENT '优惠券余额'")
    private String remainder;

    //使用金额
    @Column(name = "use_money", length = 32, columnDefinition = "VARCHAR(32) COMMENT '使用金额'")
    private String useMoney;

    public String getUseMoney() {
        return useMoney;
    }

    public void setUseMoney(String useMoney) {
        this.useMoney = useMoney;
    }

    public String getCouponType() {
        return couponType;
    }

    public void setCouponType(String couponType) {
        this.couponType = couponType;
    }

    public String getRemainder() {
        return remainder;
    }

    public void setRemainder(String remainder) {
        this.remainder = remainder;
    }

    public Long getPrintDate() {
        return printDate;
    }

    public void setPrintDate(Long printDate) {
        this.printDate = printDate;
    }

    public String getGscost() {
        return gscost;
    }

    public void setGscost(String gscost) {
        this.gscost = gscost;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getGift() {
        return gift;
    }

    public void setGift(String gift) {
        this.gift = gift;
    }

    public String getDegression() {
        return degression;
    }

    public void setDegression(String degression) {
        this.degression = degression;
    }

    public String getCost() {
        return cost;
    }

    public void setCost(String cost) {
        this.cost = cost;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getGongdanId() {
        return gongdanId;
    }

    public void setGongdanId(String gongdanId) {
        this.gongdanId = gongdanId;
    }

    public String getUseRemark() {
        return useRemark;
    }

    public void setUseRemark(String useRemark) {
        this.useRemark = useRemark;
    }

    public Long getUseDate() {
        return useDate;
    }

    public void setUseDate(Long useDate) {
        this.useDate = useDate;
    }
}
